package team.kirohuji.repository.jpa.user;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import team.kirohuji.domain.user.UserInfo;

@Repository
public interface UserInfoRepository extends JpaRepository<UserInfo, Integer> {
	//attendance模块
/*	@Query(value="select ui.* from user_info ui join user u on u.user_id=ui.user_id where u.team_id = ?1", nativeQuery = true)
	List<UserInfo> findAllUserByTeamId(Integer teamId);*/
}